Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example showcasing to to manage disk-based file storage with metadata in a store #23

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

tp
Copy link
Contributor

@tp tp commented Nov 11, 2024

The store automatically handles taking ownership of the passed file (copying it into its own internal storage), and deleting the underlying file (which it should only reference itself) when the metadata entry is removed.

@tp tp force-pushed the disk-file-store branch from 0479600 to 776a9db Compare November 11, 2024 12:46
@tp tp marked this pull request as ready for review November 11, 2024 12:46
@tp tp force-pushed the disk-file-store branch 2 times, most recently from 567cb23 to 91bee96 Compare November 11, 2024 12:49
…data in a store

The store automatically handles taking ownership of the passed file (copying it into its own internal storage), and deleting the underlying file (which it should only reference itself) when the metadata entry is removed.
@tp tp force-pushed the disk-file-store branch from 91bee96 to ade2d89 Compare November 11, 2024 12:58
@tp tp merged commit 945725e into main Nov 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant